﻿Public Class Addition
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

    End Sub

    Protected Sub btn_calculate_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btn_calculate.Click

        Dim firstNumber As Integer
        Dim secondNumber As Integer
        Dim result As Integer

        firstNumber = CInt(tb_firstNumber.Text)
        secondNumber = CInt(tb_secondNumber.Text)
        result = firstNumber + secondNumber

        lbl_result.Text = result

    End Sub
End Class